home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Entertainment / MacMud / Mud 4.0 / incralloc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-30  |  287 b   |  14 lines  |  [TEXT/tefi]

  1. /*
  2.  * Information for allocating a block that can grow dynamically
  3.  * using realloc. That means that no pointers should be kept into such
  4.  * an area, as it might be moved.
  5.  */
  6.  
  7. struct mem_block {
  8.     char *block;
  9.     int current_size;
  10.     int max_size;
  11. };
  12.  
  13. #define START_BLOCK_SIZE    4096
  14.